package com.lwc.common.untils;
/**
 * 接口处理结果
 */
public enum RestStatus {

    SUCCESS(200,"成功"),FAIL(0,"失败");
 int code;
 String msg;


    /**
     * 构造方法必须私有化
     * @param code
     * @param msg
     */
    private  RestStatus(int code,String msg){
         this.code=code;
         this.msg=msg;
}

    public int getCode() {
        return code;
    }



}
